package com.iot.core.annotation;


import com.iot.core.enums.FieldType;
import org.springframework.web.bind.annotation.Mapping;

import java.lang.annotation.*;

@Target({  ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Mapping
public @interface Field {

    /**
     * 字段类型
     */
    FieldType fieldType() default FieldType.NORMAL;

}
